#include <bits/stdc++.h>
using namespace std;

inline int read(){
	int x = 0, f = 1;
	char c = getchar();
	for(; c < '0' || c > '9'; c = getchar()) if(c == '-') f = -1;
	for(; c >= '0' && c <= '9'; c = getchar()) x = x * 10 + c - '0';
	return f * x;
}

const int N = 1e5 + 9;
int a[N], c[M], d[N];
int n, m, T;

int main(){
	freopen("arena.in", "r", stdin);
	freopen("arena.out", "w", stdout);
	cin >> n >> m;
	for(int i = 1; i <= n; i++) cin >> a[i];
	for(int i = 1; i <= m; i++) cin >> c[i];
	
	return 0;
}
